    	<div id="content_middle">
    	<?php if($platid!='1'){ ?>
        	<div class="shop_index_hot">
            	<div class="shop_index_hot01"></div>
                <div class="shop_index_hot02">
                	<div class="hot_cate">
                    	<div class="shop_index_title">热门分类</div>
                        <div class="hot_detail">
                        	<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=1&q="); ?>">手机</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=12&q="); ?>">男装</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=16&q="); ?>">女装</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=17&q="); ?>">女鞋</a> 
                       
                            
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=13&q="); ?>">运动鞋</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=52&q="); ?>">服饰配件</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=2&q="); ?>">笔记本电脑</a> 
  
  
                         	<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=6&q="); ?>">数码相机</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=14&q="); ?>">护肤品</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=21&q="); ?>">箱包皮具</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=25&q="); ?>">男鞋</a> 
  							<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=5&q="); ?>">mp3/mp4</a>  
            
							<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=32&q="); ?>">床上用品</a>                                                      
							<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=38&q="); ?>">母婴用品</a>                          
 							<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=8&q="); ?>">家用电器</a>  
 							<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=37&q="); ?>">零食特产</a>                       
 							<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=18&q="); ?>">内衣/居家服</a>                       
 							<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=11&q="); ?>">移动存储设备</a>                       
                      
  							<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=7&q="); ?>">数码配件</a>                         
  							<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=29&q="); ?>">厨房餐饮</a>   
  							<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=29&q="); ?>">卫浴洗浴</a>     							
  							<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=36&q="); ?>">保健滋补品</a>     							
  							<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&category=42&q="); ?>">书籍杂志</a>     							


                        </div>
                    </div>
                    <div class="hot_tag">
                    	<div class="shop_index_title">热门标签</div>
                        <div class="hot_detail">
                         	<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('耐克')); ?>">耐克</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('衬衫')); ?>"> 衬衫</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('原单')); ?>">原单</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('短袖')); ?>">短袖</a>       
							<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('polo衫')); ?>">polo衫</a>

                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('运动装')); ?>">运动装</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('牛仔裤')); ?>">牛仔裤</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('外贸')); ?>">外贸</a> 
   
                             <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('短裙')); ?>">短裙</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('热裤')); ?>">热裤</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('凉鞋')); ?>">凉鞋</a> 
                                                     
                            
                             <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('手机')); ?>">手机</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('iphone')); ?>">iphone</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('休闲裤')); ?>">休闲裤</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('运动鞋')); ?>">运动鞋</a> 
                         	<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('男装')); ?>">男装</a>                           
                               	<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('包')); ?>">包</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('皮鞋')); ?>">皮鞋</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('休闲鞋')); ?>">休闲鞋</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('手机充值')); ?>">手机充值</a>                          </div>
                    </div>
                    <div class="hot_searchResult">
                    	<div class="shop_index_title">最热门搜索</div>
                        <div class="hot_detail">
                        	<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('耐克')); ?>">耐克</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('衬衫')); ?>"> 衬衫</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('原单')); ?>">原单</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('短袖')); ?>">短袖</a>       
							<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('polo衫')); ?>">polo衫</a>

                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('运动装')); ?>">运动装</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('牛仔裤')); ?>">牛仔裤</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('外贸')); ?>">外贸</a> 
   
                             <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('短裙')); ?>">短裙</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('热裤')); ?>">热裤</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('凉鞋')); ?>">凉鞋</a> 
                                                     
                            
                             <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('手机')); ?>">手机</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('iphone')); ?>">iphone</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('休闲裤')); ?>">休闲裤</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('运动鞋')); ?>">运动鞋</a> 
                         	<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('男装')); ?>">男装</a>                           
                               	<a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('包')); ?>">包</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('皮鞋')); ?>">皮鞋</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('休闲鞋')); ?>">休闲鞋</a>
                            <a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT,"platid=$platid&q=".urlencode('手机充值')); ?>">手机充值</a>  


                        </div>
                    </div>
                </div>
                <div class="shop_index_hot03"></div>
            </div>
       <?php } ?>
            
           <div class="hot_shop_index">
                <div class="hot_shop_index01"><span>热门店铺</span></div>
                <div class="hot_shop_index02">
                	
                	<div class="hot_shop_item_box">
                	<?php if($hotShopList) 
                    	{
                		   foreach($hotShopList as $item)
                		   {
                	 ?>
	                     <dl class="hot_shop_item">
	                        <dt>
	                         <a href="<?php echo edp_href_link(PAGENAME_SHOP_INFO, 'sid='.$item['id']);?>">
	                          <img width="80px" height="80px" src="<?php if($platid=='4') echo '/static/image/defaultpicture80.gif'; else echo $item['logo_url'];?>">
	                         </a> 
	                        </dt>
	                   
	                       <dd>
	                          <a href="<?php echo edp_href_link(PAGENAME_SHOP_INFO, 'sid='.$item['id']);?>">
                              <?php secho( $item['shop_name'] ); ?> 
                            
	                          </a>
	                        </dd>
	                     
	                     </dl>
	         
	                 <?php
						   }
					    }
					?>   
	     
                      <div style="clear:both;"></div>
                     
                	</div>
                	  
                </div>
                 <div style="clear:both;"></div>
                <div class="hot_shop_index03"></div>    
                 
        	</div>
        	            
            
            
            <div class="rencent_reviews">
            	<div class="rencent_reviews01"><span>最新店铺点评</span><a href="<?php echo edp_href_link(PAGENAME_REVIEW_SUMMARY,'platid='.$platid); ?>">&gt;&gt;查看全部店铺点评</a></div>
                <div class="rencent_reviews02">
				<?php
					if($recentReviewList)
					{
						foreach($recentReviewList as $review)
						{
				?>				
		                	<div class="item_review">		
		                    	
		                   
		                   
		                      	<div class="review_pic">
		                    	<a href="<?php echo edp_href_link(PAGENAME_USER_INFO, 'uid='.$review['uid']);?>">
		                    	<img src="<?php echo EdpGetAvatarUrl($review['logo_path']);?>" />
		                        </a>
		                        </div>
		                        
		                        <div class="reviews_shop_title"><a href="<?php echo edp_href_link(PAGENAME_SHOP_INFO, 'sid='.$review['sid']);?>"><?php secho( $review['shop_name'] ); ?></a></div>
		                          
		                        <div class="reviews_rank_score"> 
		                        
		                           <a href="<?php echo edp_href_link(PAGENAME_USER_INFO, 'uid='.$review['uid']);?>">
		                            <?php secho( $review['nick'] ); ?>
		                            </a>  	
		                            	                        
		                        	<div class="point_box">
		                        		<span class="smallscore<?php echo $review['score']+1; ?>"></span>
		                        	</div>  
		                          <span>商家服务：<?php echo $review['service'];?></span><span>商品真实度：<?php echo $review['reality'];?></span><span>发货速度：<?php echo $review['velocity'];?></span><span>性价比：<?php echo $review['rate'];?></span></div>
		                        <div class="reviews_post">		                        

		                         <?php 
		                         if(EdpStrLen($review['content'])>200)
		                         {
		                         	secho(EdpSubStr($review['content'],0,200).'...');
		                         }
		                         else
		                         {
		                         	secho($review['content']);
		                         }
		                         ?>
		                         (<a href="<?php echo edp_href_link(PAGENAME_REVIEW_INFO, 'rid='.$review['rid']);?>">阅读全文</a>)   
		                         </div>
		                         
		                         <div style="clear:both"></div>
		                         
		                    </div>                   
				<?php
						}
					}
				?>
                </div>
                <div class="rencent_reviews03"></div>            
            </div>          
        </div>
               
        
        <div id="sidebar_left">
        	<div class="ranking">
            	<div class="ranking01"><span>分类排行榜</span></div>
                <div class="ranking02">
               	  <ul>
                   	<li class="rank01"><a href="<?php echo edp_href_link(PAGENAME_TOP_DETAIL,"sortby=score&platid=$platid");?>"><span>口碑最佳</span></a></li>
                    <li class="rank02"><a href="<?php echo edp_href_link(PAGENAME_TOP_DETAIL,"sortby=service&platid=$platid");?>"><span>服务最佳</span></a></li>
                    <li class="rank03"><a href="<?php echo edp_href_link(PAGENAME_TOP_DETAIL,"sortby=reality&platid=$platid");?>"><span>商品真实度最高</span></a></li>
                    <li class="rank04"><a href="<?php echo edp_href_link(PAGENAME_TOP_DETAIL,"sortby=velocity&platid=$platid");?>"><span>发货速度最快</span></a></li>
                    <li class="rank05"><a href="<?php echo edp_href_link(PAGENAME_TOP_DETAIL,"sortby=rate&platid=$platid");?>"><span>性价比最高</span></a></li>
                  </ul>
                 <div class="ranking01_bottom"><a href="<?php echo edp_href_link(PAGENAME_TOP_DETAIL);?>">&gt;&gt; 查看全部排行榜分类</a></div>
                </div>
                <div class="ranking03"></div>
            </div>
            
            <div class="cate_shop">
            	<div class="cate_shop01"></div>
                <div id="allcatelist" class="cate_shop02">
<?php
				 $count='1';
				 foreach($cateMapping as $key=>$cateList)
				 {
?>
					<ul id="<?php echo "cate_".$count."_ul";?>" class="cate_shop_ul">
						<span id="<?php echo "cate_".$count;?>"><?php echo $key;?></span>
<?php
						foreach($cateList as $key=>$category)
						{
?>
							<li><a href="<?php echo edp_href_link(PAGENAME_SHOP_SEARCH_RESULT, 'platid='.$platid.'&category='.$key."&q=");?>"><?php echo $category;?></a></li>
<?php
						}
?>
					</ul>
<?php
					$count++;
				 } 
?>					   
                </div>
                <div class="cate_shop03"></div>
            </div>
        </div> 
